﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SqlMiM.Common.Framework.Configuration;

namespace SqlMiM.Common.Interfaces
{
    /// <summary>
    /// Public Interface for a provider of ConfigurationService.
    /// May be SQL CE or XML or what you want!
    /// </summary>
    public interface IConfigurationService
    {
        // Load all configs
        void Load();

        // Save all configs
        void Save();

        // Get Connection String
        String ConfigurationConnectionString { get; }

        // Get a Configuration Object for one Plugin identified by its name.
        ConfigurationObject this[string name] { get; set; }
    }

 

}
